package com.example.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;
/**
*  打卡的实体类
**/
@Data
public class Clock implements Serializable {

    private static final long serialVersionUID = 1L;

    //ID
    private Integer id;
    //用户id
    private Integer userId;
    //用户名字
    private String userName;
    //打卡时间
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDate time;

}